package com.ihr360.excel.vo;

import com.ihr360.excel.entity.SpreadsheetJournalEntity;

import java.io.Serializable;
import java.util.List;

/**
 * 导入进度
 *
 * @author richey
 */
public class ProgressResult implements Serializable {

    //总进度
    private String progress;
    //当前步骤 进度
    private String stepProgress;
    //当前步骤
    private Integer currentStep;
    //当前步是否成功
    private boolean stepSuccess = true;

    /**
     * 错误日志
     */
    private List<SpreadsheetJournalEntity> errorLog;


    public String getProgress() {
        return progress;
    }

    public void setProgress(String progress) {
        this.progress = progress;
    }

    public List<SpreadsheetJournalEntity> getErrorLog() {
        return errorLog;
    }

    public void setErrorLog(List<SpreadsheetJournalEntity> errorLog) {
        this.errorLog = errorLog;
    }

    public Integer getCurrentStep() {
        return currentStep;
    }

    public void setCurrentStep(Integer currentStep) {
        this.currentStep = currentStep;
    }

    public String getStepProgress() {
        return stepProgress;
    }

    public void setStepProgress(String stepProgress) {
        this.stepProgress = stepProgress;
    }

    public boolean isStepSuccess() {
        return stepSuccess;
    }

    public void setStepSuccess(boolean stepSuccess) {
        this.stepSuccess = stepSuccess;
    }

}
